Skip to content

DNS name tracking blog#32

Open
memodi wants to merge 6 commits intonetobserv:mainfrom
memodi:dnsname-tracking
Open

DNS name tracking blog#32
memodi wants to merge 6 commits intonetobserv:mainfrom
memodi:dnsname-tracking

Conversation

@memodi
Copy link
Member

@memodi memodi commented Mar 13, 2026

DNS name tracking blog

@github-actions
Copy link

github-actions bot commented Mar 13, 2026

🚀 PR Preview for netobserv.io has been successfully deployed!
It's available at https://netobserv-io-blog-32-preview.surge.sh and will be removed when the PR closes.

@memodi memodi force-pushed the dnsname-tracking branch from 2145af3 to 5cf49b7 Compare March 13, 2026 19:11
@memodi memodi changed the title WIP: DNS name Tracking blog DNS name Tracking blog Mar 13, 2026
@memodi
Copy link
Member Author

memodi commented Mar 13, 2026

/cc @jotak @jpinsonneau @stleerh

@memodi memodi requested review from jotak, jpinsonneau and stleerh March 13, 2026 19:13
@memodi memodi changed the title DNS name Tracking blog DNS name tracking blog Mar 13, 2026
@memodi memodi force-pushed the dnsname-tracking branch from 7e1ad4b to d0d4cbf Compare March 13, 2026 19:17
@memodi memodi force-pushed the dnsname-tracking branch from d0d4cbf to 605685a Compare March 13, 2026 19:32
jpinsonneau
jpinsonneau previously approved these changes Mar 16, 2026
Copy link
Member

@jpinsonneau jpinsonneau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks @memodi !

memodi and others added 2 commits March 17, 2026 12:58
Co-authored-by: Amogh Rameshappa Devapura <aramesha@redhat.com>
options ndots:5
```

Short DNS names for cluster services causes high load on the cluster DNS service
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

Suggested change
Short DNS names for cluster services causes high load on the cluster DNS service
Short DNS names for cluster services cause high load on the cluster DNS service

Comment on lines +70 to +76
resulting in higher latencies, negative caching and increased dns traffic. This
negative impact can be prevented by using Fully Qualified Domain Name (FQDN) in
the requests. After updating the hostname to `nginx.server.svc.cluster.local.`
in the curl requests, we are not seeing any NXDOMAINS and reduced unnecessary
dns traffic in our cluster. You can imagine the performance impact if such
configuration issue propagated to hundreds of services in your cluster.

Copy link
Member

@jotak jotak Mar 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"DNS" is sometimes written in capitals sometimes not, I would suggest to stick to just one form (across the full post)

```

Short DNS names for cluster services causes high load on the cluster DNS service
resulting in higher latencies, negative caching and increased dns traffic. This
Copy link
Member

@jotak jotak Mar 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the way "negative caching" is mentioned here may trigger questions from the reader (what is it etc.) ; maybe we can expand a little bit this section, saying that the DNS resolver has that mechanism of negative caching to avoid consistently re-emitting queries to known non-existing domains - which is actually also a remediation to avoid unnecessary queries - but not as good as just using fqdn with trailing dot

Copy link
Member Author

@memodi memodi Mar 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added text for negative caching in parentheses, wdyt?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, text sounds good, just a little character issue in —like NXDOMAIN- (there's a long and a short dash)

Comment on lines +90 to +92
issues, it comes with some caveats to favor performance. This feature isn't
supported with Prometheus as datastore since storing DNS names as metric values
could cause high cardinality. That means, if you're looking to use this feature
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On cardinality, maybe we can tell that we're currently evaluating the impact - see my comment here - I think eventually we can add that to the metrics

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added a statement

@jotak
Copy link
Member

jotak commented Mar 19, 2026

/lgtm
there's just a character issue with long/short dash cf comment above

@jotak
Copy link
Member

jotak commented Mar 20, 2026

@memodi you can merge when you want

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants